package com.ctg.behavior.common.calc;

import lombok.Data;

@Data
public class CtCalcMeasure implements CtCalc {

	/*
	  {
			"eventId": "$AppClick",
			"aggregator": "general",
			"name": "App 元素点击的用户 ID的总和",
			"field": "event.$AppClick.$user_id"
			"filter": {
			}
	   }
	 */
	private String eventId;
	private String aggregator;
	private String name;
	private String field;
	private CtCalcFilter filter = new CtCalcFilter();
	
	// 自定义指标；当使用自定义指标时, eventId/aggregator/field为空
	private CtCalcMeasureExpression measureExpression;
	
}
